package com.bilibili.bilibili.model;

import java.util.List;

/**
 * 作者：郭传沛 on 2017/3/9 10:18
 * 邮箱：bestyourselfgcp@163.com
 * 类用途:
 */

public class LiveModel {

    private int code;
    private DataBean data;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "LiveModel{" +
                "code=" + code +
                ", data=" + data +
                ", message='" + message + '\'' +
                '}';
    }

    public static class DataBean {
        private List<BannerBean> banner;
        private List<EntranceIconsBean> entranceIcons;
        private List<PartitionsBean> partitions;

        public List<BannerBean> getBanner() {
            return banner;
        }

        public void setBanner(List<BannerBean> banner) {
            this.banner = banner;
        }

        public List<EntranceIconsBean> getEntranceIcons() {
            return entranceIcons;
        }

        public void setEntranceIcons(List<EntranceIconsBean> entranceIcons) {
            this.entranceIcons = entranceIcons;
        }

        public List<PartitionsBean> getPartitions() {
            return partitions;
        }

        public void setPartitions(List<PartitionsBean> partitions) {
            this.partitions = partitions;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "banner=" + banner +
                    ", entranceIcons=" + entranceIcons +
                    ", partitions=" + partitions +
                    '}';
        }

        public static class BannerBean {
            private String img;
            private String link;
            private String remark;
            private String title;

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            @Override
            public String toString() {
                return "BannerBean{" +
                        "img='" + img + '\'' +
                        ", link='" + link + '\'' +
                        ", remark='" + remark + '\'' +
                        ", title='" + title + '\'' +
                        '}';
            }
        }

        public static class EntranceIconsBean {
            private EntranceIconBean entrance_icon;
            private int id;
            private String name;

            public EntranceIconBean getEntrance_icon() {
                return entrance_icon;
            }

            public void setEntrance_icon(EntranceIconBean entrance_icon) {
                this.entrance_icon = entrance_icon;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            @Override
            public String toString() {
                return "EntranceIconsBean{" +
                        "entrance_icon=" + entrance_icon +
                        ", id=" + id +
                        ", name='" + name + '\'' +
                        '}';
            }

            public static class EntranceIconBean {
                /**
                 * height : 132
                 * src : http://static.hdslb.com/live-static/images/mobile/android/big/xxhdpi/11_big.png?201703061547
                 * width : 132
                 */

                private String height;
                private String src;
                private String width;

                public String getHeight() {
                    return height;
                }

                public void setHeight(String height) {
                    this.height = height;
                }

                public String getSrc() {
                    return src;
                }

                public void setSrc(String src) {
                    this.src = src;
                }

                public String getWidth() {
                    return width;
                }

                public void setWidth(String width) {
                    this.width = width;
                }

                @Override
                public String toString() {
                    return "EntranceIconBean{" +
                            "height='" + height + '\'' +
                            ", src='" + src + '\'' +
                            ", width='" + width + '\'' +
                            '}';
                }
            }
        }

        public static class PartitionsBean {

            private PartitionBean partition;
            private List<LivesBean> lives;

            public PartitionBean getPartition() {
                return partition;
            }

            public void setPartition(PartitionBean partition) {
                this.partition = partition;
            }

            public List<LivesBean> getLives() {
                return lives;
            }

            public void setLives(List<LivesBean> lives) {
                this.lives = lives;
            }

            @Override
            public String toString() {
                return "PartitionsBean{" +
                        "partition=" + partition +
                        ", lives=" + lives +
                        '}';
            }

            public static class PartitionBean {
                private String area;
                private int count;
                private int id;
                private String name;
                private SubIconBean sub_icon;

                public String getArea() {
                    return area;
                }

                public void setArea(String area) {
                    this.area = area;
                }

                public int getCount() {
                    return count;
                }

                public void setCount(int count) {
                    this.count = count;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public SubIconBean getSub_icon() {
                    return sub_icon;
                }

                public void setSub_icon(SubIconBean sub_icon) {
                    this.sub_icon = sub_icon;
                }

                @Override
                public String toString() {
                    return "PartitionBean{" +
                            "area='" + area + '\'' +
                            ", count=" + count +
                            ", id=" + id +
                            ", name='" + name + '\'' +
                            ", sub_icon=" + sub_icon +
                            '}';
                }

                public static class SubIconBean {


                    private String height;
                    private String src;
                    private String width;

                    public String getHeight() {
                        return height;
                    }

                    public void setHeight(String height) {
                        this.height = height;
                    }

                    public String getSrc() {
                        return src;
                    }

                    public void setSrc(String src) {
                        this.src = src;
                    }

                    public String getWidth() {
                        return width;
                    }

                    public void setWidth(String width) {
                        this.width = width;
                    }

                    @Override
                    public String toString() {
                        return "SubIconBean{" +
                                "height='" + height + '\'' +
                                ", src='" + src + '\'' +
                                ", width='" + width + '\'' +
                                '}';
                    }
                }
            }

            public static class LivesBean {

                private String accept_quality;
                private String area;
                private int area_id;
                private int broadcast_type;
                private int check_version;
                private CoverBean cover;
                private int is_tv;
                private int online;
                private OwnerBean owner;
                private String playurl;
                private int room_id;
                private String title;

                public String getAccept_quality() {
                    return accept_quality;
                }

                public void setAccept_quality(String accept_quality) {
                    this.accept_quality = accept_quality;
                }

                public String getArea() {
                    return area;
                }

                public void setArea(String area) {
                    this.area = area;
                }

                public int getArea_id() {
                    return area_id;
                }

                public void setArea_id(int area_id) {
                    this.area_id = area_id;
                }

                public int getBroadcast_type() {
                    return broadcast_type;
                }

                public void setBroadcast_type(int broadcast_type) {
                    this.broadcast_type = broadcast_type;
                }

                public int getCheck_version() {
                    return check_version;
                }

                public void setCheck_version(int check_version) {
                    this.check_version = check_version;
                }

                public CoverBean getCover() {
                    return cover;
                }

                public void setCover(CoverBean cover) {
                    this.cover = cover;
                }

                public int getIs_tv() {
                    return is_tv;
                }

                public void setIs_tv(int is_tv) {
                    this.is_tv = is_tv;
                }

                public int getOnline() {
                    return online;
                }

                public void setOnline(int online) {
                    this.online = online;
                }

                public OwnerBean getOwner() {
                    return owner;
                }

                public void setOwner(OwnerBean owner) {
                    this.owner = owner;
                }

                public String getPlayurl() {
                    return playurl;
                }

                public void setPlayurl(String playurl) {
                    this.playurl = playurl;
                }

                public int getRoom_id() {
                    return room_id;
                }

                public void setRoom_id(int room_id) {
                    this.room_id = room_id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                @Override
                public String toString() {
                    return "LivesBean{" +
                            "accept_quality='" + accept_quality + '\'' +
                            ", area='" + area + '\'' +
                            ", area_id=" + area_id +
                            ", broadcast_type=" + broadcast_type +
                            ", check_version=" + check_version +
                            ", cover=" + cover +
                            ", is_tv=" + is_tv +
                            ", online=" + online +
                            ", owner=" + owner +
                            ", playurl='" + playurl + '\'' +
                            ", room_id=" + room_id +
                            ", title='" + title + '\'' +
                            '}';
                }

                public static class CoverBean {

                    private int height;
                    private String src;
                    private int width;

                    public int getHeight() {
                        return height;
                    }

                    public void setHeight(int height) {
                        this.height = height;
                    }

                    public String getSrc() {
                        return src;
                    }

                    public void setSrc(String src) {
                        this.src = src;
                    }

                    public int getWidth() {
                        return width;
                    }

                    public void setWidth(int width) {
                        this.width = width;
                    }

                    @Override
                    public String toString() {
                        return "CoverBean{" +
                                "height=" + height +
                                ", src='" + src + '\'' +
                                ", width=" + width +
                                '}';
                    }
                }

                public static class OwnerBean {

                    private String face;
                    private int mid;
                    private String name;

                    public String getFace() {
                        return face;
                    }

                    public void setFace(String face) {
                        this.face = face;
                    }

                    public int getMid() {
                        return mid;
                    }

                    public void setMid(int mid) {
                        this.mid = mid;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    @Override
                    public String toString() {
                        return "OwnerBean{" +
                                "face='" + face + '\'' +
                                ", mid=" + mid +
                                ", name='" + name + '\'' +
                                '}';
                    }
                }
            }
        }
    }
}
